package com.cdg.polymeric.autoconfigure;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author wyp
 * polymeric 配置
 * @date 2021-06-23
 */
@Data
@ConfigurationProperties(prefix = "ploymeric")
public class PolymericProperties {


    public PolymericProperties() {

    }

    /**
     * guava缓存的键值数
     */
    private Integer guavaCacheNumMaxSize;
    /**
     * guava更新混存的下一次时间,分钟
     */
    private Integer guavaCacheRefreshWriteTime;
    /**
     * guava
     */
    private Integer guavaCacheRefreshThreadPoolSize;


    public Integer getGuavaCacheNumMaxSize() {
        return guavaCacheNumMaxSize;
    }

    public void setGuavaCacheNumMaxSize(Integer guavaCacheNumMaxSize) {
        this.guavaCacheNumMaxSize = guavaCacheNumMaxSize;
    }

    public Integer getGuavaCacheRefreshWriteTime() {
        return guavaCacheRefreshWriteTime;
    }

    public void setGuavaCacheRefreshWriteTime(Integer guavaCacheRefreshWriteTime) {
        this.guavaCacheRefreshWriteTime = guavaCacheRefreshWriteTime;
    }


}